
//
// 130728 - AH - (Created).
//

package org.japril.jutil.pulse;

/**
 * <p>
 *   Associates data with a type name.
 * </p>
 * @author Arne Halvorsen (AH)
 */
public interface Product 
{
  /**
   * <p>
   *   Gets type name.
   * </p>
   * @return Type name.
   */
  String getType();
  
  /**
   * <p>
   *   Gets data.
   * </p>
   * @return Data.
   */
  Object getData();
  
  /**
   * <p>
   *   The empty array shared.
   * </p>
   */
  public static final Product[] EMPTY_ARRAY=new Product[0];
  
}
